package com.lin.lostandfound.bean;



import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.util.Date;
@TableName("notice")
public class Notice {
	@TableId(type = IdType.AUTO)
	private Long id;
	private String title;
	private String substance;
	private int status;
	private Date publishTime;

	public Notice() {
	}

	public Notice(String substance, int status, Date publishTime) {
		this.substance = substance;
		this.status = status;
		this.publishTime = publishTime;
	}

	public Notice(String title, String substance, int status, Date publishTime) {
		this.title = title;
		this.substance = substance;
		this.status = status;
		this.publishTime = publishTime;
	}

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getSubstance() {
		return this.substance;
	}

	public void setSubstance(String substance) {
		this.substance = substance;
	}

	public int getStatus() {
		return this.status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public Date getPublishTime() {
		return this.publishTime;
	}

	public void setPublishTime(Date publishTime) {
		this.publishTime = publishTime;
	}

}
